package com.mldong.modules.cms.mapper;

import com.mldong.modules.cms.entity.ContentPos;
import com.mldong.modules.cms.vo.ContentPosVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
 * <p>
 * r_内容推荐位 Mapper 接口
 * </p>
 *
 * @author mldong
 * @since 2022-10-23
 */
@Mapper
public interface ContentPosMapper extends BaseMapper<ContentPos> {
    List<ContentPosVO> selectCustom(IPage<ContentPosVO> page, @Param(Constants.WRAPPER) Wrapper<ContentPos> wrapper);
    ContentPosVO findById(@Param("id") Long id);
}
